mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 23:11:41 +00:00
For linger mode : end all units moves (with red orbs)
I just found a linger() in playsingle_controller.cpp, i suppose it also does MP?
This commit is contained in:
parent
700e3e9189
commit
96b6a721c2
@ -513,6 +513,10 @@ void playsingle_controller::linger(upload_log& log)
|
||||
LOG_NG << "beginning end-of-scenario linger";
|
||||
browse_ = true;
|
||||
linger_ = true;
|
||||
// end all unit moves
|
||||
for (unit_map::iterator u = units_.begin(); u != units_.end(); u++) {
|
||||
u->second.set_user_end_turn(true);
|
||||
}
|
||||
try {
|
||||
// Same logic as single-player human turn, but
|
||||
// *not* the same as multiplayer human turn.
|
||||
|
Loading…
x
Reference in New Issue
Block a user