summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-30 16:47:03 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-30 19:23:28 -0700
commit7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77 (patch)
tree961575586f475d4b47f167a2b40f865f864a0206 /src/map/magic-stmt.cpp
parent71204f7324a2e01ce50007f16c46386354712ec9 (diff)
downloadtmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.gz
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.bz2
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.xz
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.zip
It's about time I did this
Diffstat (limited to 'src/map/magic-stmt.cpp')
-rw-r--r--src/map/magic-stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-stmt.cpp b/src/map/magic-stmt.cpp
index 57fbe66..cbd97a8 100644
--- a/src/map/magic-stmt.cpp
+++ b/src/map/magic-stmt.cpp
@@ -305,7 +305,7 @@ dumb_ptr<npc_data> local_spell_effect(map_local *m, int x, int y, int effect,
interval_t tdelay)
{
/* 1 minute should be enough for all interesting spell effects, I hope */
- std::chrono::seconds delay = std::chrono::seconds(30);
+ std::chrono::seconds delay = 30_s;
dumb_ptr<npc_data> effect_npc = npc_spawn_text(m, x, y,
INVISIBLE_NPC, NpcName(), "?"_s);
BlockId effect_npc_id = effect_npc->bl_id;