Merge AI::FindLibrary and Game::FindLibrary
commit45f3ddfd3fcf9e64991d39f8d11f80bc86f0cfd7
authorcirdan <cirdansw@gmail.com>
Sun, 16 Aug 2015 07:56:35 +0000 (16 09:56 +0200)
committercirdan <cirdansw@gmail.com>
Sun, 16 Aug 2015 07:56:35 +0000 (16 09:56 +0200)
tree6637f4d61f9fa8221fc0698c3f7915bf8e28b3e1
parent5ebc9f127ae88a683d2d228602f90d294d2ca6c6
Merge AI::FindLibrary and Game::FindLibrary

Add a new method ScriptInfoList::FindLibrary that merges
AI::FindLibrary and Game::FindLibrary, which were identical
except for some casts.
src/ai/ai_core.cpp
src/game/game_core.cpp
src/script/script_infolist.cpp
src/script/script_infolist.hpp