~armagetronad-ct/armagetronad/0.4-advrim

« back to all changes in this revision

Viewing changes to src/tron/cockpit/cCockpit.cpp

  • Committer: Voodoo
  • Date: 2013-04-11 10:46:24 UTC
  • Revision ID: voodoo-20130411104624-zse1f33o7ten188z
merge -r 1454..1476 lp:armagetronad/0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
}
201
201
tValue::BasePtr cCockpit::cb_CurrentPing(void) {
202
202
    if(m_Type == VIEWPORT_TOP) return tValue::BasePtr(new tValue::Base());
203
 
    return tValue::BasePtr(new tValue::Int(m_ViewportPlayer->ping*1000));
 
203
    return tValue::BasePtr(new tValue::Int((int)m_ViewportPlayer->ping*1000));
204
204
}
205
205
tValue::BasePtr cCockpit::cb_CurrentSpeed(void) {
206
206
    if(m_Type == VIEWPORT_TOP) return tValue::BasePtr(new tValue::Base());