Revert 2012-11-29T01:43:29Z!jt_coding@verizon.net
(block_undo) -- functionality now appears to be unnecessary.
This commit is contained in:
parent
725a3ad046
commit
e6471a58c1
1 changed files with 0 additions and 9 deletions
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include "actions/create.hpp"
|
||||
#include "actions/move.hpp"
|
||||
#include "actions/undo.hpp"
|
||||
#include "actions/vision.hpp"
|
||||
#include "ai/manager.hpp"
|
||||
#include "dialogs.hpp"
|
||||
|
@ -2655,14 +2654,6 @@ WML_HANDLER_FUNCTION(allow_undo,/*event_info*/,/*cfg*/)
|
|||
current_context->mutated = false;
|
||||
}
|
||||
|
||||
// Block undo lets WML simulate the player performing a non-undoable action.
|
||||
// This can cause sighted events to immediately fire.
|
||||
WML_HANDLER_FUNCTION(block_undo, /*event_info*/, /*cfg*/)
|
||||
{
|
||||
resources::undo_stack->clear();
|
||||
resources::undo_stack->clear_redo();
|
||||
}
|
||||
|
||||
WML_HANDLER_FUNCTION(open_help, /*event_info*/, cfg)
|
||||
{
|
||||
game_display &screen = *resources::screen;
|
||||
|
|
Loading…
Add table
Reference in a new issue