mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
Add rotation to position debug display
This commit is contained in:
parent
54edee2be5
commit
a225c7252c
@ -202,6 +202,12 @@ void DisplayPlayerPosition(void)
|
||||
|
||||
sprintf(string, "X: %d, Y: %d, Z: %d", player[0].pos[0], player[0].pos[1], player[0].pos[2]);
|
||||
PrintString(string, 20, 210);
|
||||
|
||||
if (player[0].playerCarId != -1)
|
||||
{
|
||||
sprintf(string, "Rotation: %d", car_data[player[0].playerCarId].hd.direction);
|
||||
PrintString(string, 20, 220);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user