Removed inline logic

Removed inline logic to static variable, slight performance increase.
Merge pull request #381 from poixen/abstractcarddragitemcleanup

Removed inline logic