Skip to content

Commit

Permalink
fix mplr
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Sep 23, 2024
1 parent f67305a commit 66a51ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
This section lists changes not yet released, but committed to repositories stuntrally3 and tracks3.
WIP means work in progress, unfinished, still being developed.

## Version 3.2

- Game
- fixed Multiplayer on Windows, bug was present since SR 3.0
- **Collection** - new game mode, in menu
Expand Down
2 changes: 2 additions & 0 deletions src/game/CarModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ class CarModel
int numWheels = 4;
int numLights = 0; // front

bool hasCam() const { return cType == CT_LOCAL || cType == CT_REPLAY; }
bool isGhost() const { return cType >= CT_GHOST; }
bool isGhostTrk() const { return cType == CT_TRACK; }

void SetNumWheels(int n);
bool hasRpm() const { return vType == V_Car; }
bool isHover() const
Expand Down
2 changes: 1 addition & 1 deletion src/game/Game_Update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void App::update( float dt )
{
for (int i=0; i < carModels.size(); ++i)
{ const CarModel* cm = carModels[i];
if (!cm->isGhost())
if (cm->hasCam())
{
int id = cm->iIndex;
if (scn->pace[id])
Expand Down

0 comments on commit 66a51ee

Please sign in to comment.