mirror of
https://github.com/nzp-team/quakec.git
synced 2025-03-22 10:52:12 +00:00
SERVER: Fix waypoint_mode precaches
This commit is contained in:
parent
a21997bc6e
commit
c14e2345bd
2 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,7 @@ void() precaches =
|
|||
precache_model ("models/sprites/explosion.spr");
|
||||
precache_model ("models/sprites/null.spr");
|
||||
|
||||
if (waypoint_mode) {
|
||||
if (cvar("waypoint_mode")) {
|
||||
precache_model ("models/way/current_way.spr");
|
||||
precache_model ("models/way/current_way_door.spr");
|
||||
precache_model ("models/way/last_way.spr");
|
||||
|
|
|
@ -1687,6 +1687,7 @@ void () Impulse_Functions =
|
|||
}
|
||||
|
||||
waypoint_mode = 1;
|
||||
localcmd("restart\n");
|
||||
break;
|
||||
default:
|
||||
|
||||
|
|
Loading…
Reference in a new issue