diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-25 03:07:59 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-25 03:07:59 +0900 |
| commit | d08aaf50515cf3fcf03e6523976258b02f6b2e95 (patch) | |
| tree | 08a1eaf05b05b41c3c612769e1b249eef41b9c46 /src/GameInitDispose.cpp | |
| parent | 95cdcaf3214a29cbe6ea5d39ac4616eefd963b03 (diff) | |
| download | blackshades-d08aaf50515cf3fcf03e6523976258b02f6b2e95.tar.gz | |
Narrow visions flag to a bool
Diffstat (limited to 'src/GameInitDispose.cpp')
| -rw-r--r-- | src/GameInitDispose.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GameInitDispose.cpp b/src/GameInitDispose.cpp index fe5dc05..51c8b13 100644 --- a/src/GameInitDispose.cpp +++ b/src/GameInitDispose.cpp @@ -39,7 +39,7 @@ extern Model skeletonmodels[10]; extern Model gunmodels[10]; extern Costume costume[10]; extern Animation animation[30]; -extern int visions; +extern bool visions; extern float rad2deg; extern Fog fog; extern bool blood; @@ -229,9 +229,9 @@ void initGame(Game* game) game->timeremaining = level.time; game->difficulty = level.difficulty; - //Setup fast radian to degree conversion - rad2deg= 56.54866776; - visions=0; + // Setup fast radian to degree conversion + rad2deg = 56.54866776; + visions = false; //Setup bounding cylinder model float boundingscale=3; |
