Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-18 20:08:37 +0000
committerStijn Buys <ingar@osirion.org>2008-02-18 20:08:37 +0000
commit7daaf66869b7b9f85f71b1aa5e9a1b4c40710f33 (patch)
tree47535bcb196485d61064c2e875b760df11e22b8f /src/core/gameinterface.h
parente217a3fd8e5af449e2305aaf78723ff25b8fcbc2 (diff)
removed second localplayer
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r--src/core/gameinterface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h
index 5e1f9be..0a7bdbe 100644
--- a/src/core/gameinterface.h
+++ b/src/core/gameinterface.h
@@ -25,7 +25,7 @@ public:
/*----- inspectors ---------------------------------------------- */
/// return the local player
- inline Player *localplayer() { return &local_player; }
+ inline Player *localplayer() { return &game_localplayer; }
/*----- virtual inspectors --------------------------------------- */
@@ -44,7 +44,8 @@ public:
virtual void frame(float seconds) = 0;
protected:
- Player local_player;
+ /// the local player
+ static Player game_localplayer;
};
}